package com.huwaiwai.jvm.d20200514;

/**
 * @author 歪大哥😁
 * @date 2020-05-14.
 */
public class InvokeTypeTest {


    public void publicMethod() {
        System.out.println("this is public method");
    }


    private void privateMethod() {
        System.out.println("this is private method");
    }

    private static void staticMethod() {
        System.out.println("this is static method");
    }

    public static void main(String[] args) {
        InvokeTypeTest t = new InvokeTypeTest();
        t.privateMethod();
        t.publicMethod();
        InvokeTypeTest.staticMethod();
    }



}
